﻿using System;

class ThreeIntegers
{
    static void Main()
    {
        //Exercise 1.
        //Write a program that reads 3 integer numbers from the console and prints their sum.
            
        Console.Write("Enter the first integer: ");
        int number1 = int.Parse(Console.ReadLine());
        Console.Write("Enter the second integer: ");
        int number2 = int.Parse(Console.ReadLine());
        Console.Write("Enter the third integer: ");
        int number3 = int.Parse(Console.ReadLine());

        Console.WriteLine("The sum is: {0}.", number1 + number2 + number3);
            
    }
}

